import sys

from PyQt6.QtWidgets import QApplication

from gui.main_board import MainBoard
from state.building import loading_building


def start_gui():
    app = QApplication(sys.argv)
    # arguments = {
    #     'activeAiModel': False,
    #     'aiCount': 0,
    #     'aiModelPath': '',
    #     'empireColor': QColor(255, 0, 0),
    #     'empireName': 'Axious',
    #     'resourceRatio': 1,
    #     'worldSize': 10
    # }
    w = MainBoard()
    w.show()
    sys.exit(app.exec())


if __name__ == '__main__':
    loading_building()
    start_gui()
